home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 June
/
PCWorld_2007-06_cd.bin
/
v cisle
/
rainlendar
/
Rainlendar-Lite-2.1.exe
/
scripts
/
alarm.lua
next >
Wrap
Text File
|
2006-12-23
|
813b
|
42 lines
--
-- DO NOT EDIT THIS FILE. IT WILL BE OVERWRITTEN WHEN YOU UPGRADE RAINLENDAR!
--
--
-- XXX
--
-- Parameters:
-- newMonth - XXX
-- Return:
-- Nothing
--
function Global_Snooze(uidItem, timeDuration)
Rainlendar_SnoozeAlarm(uidItem, timeDuration)
Rainlendar_Redraw(1)
end
function Global_SnoozeAll()
-- TODO: calculate some good snooze time
uidAlarms = Rainlendar_GetAlarmItems()
for key, value in pairs (uidAlarms) do
Rainlendar_SnoozeAlarm(value, -1)
end
Rainlendar_Redraw(1)
end
function Global_Dismiss(uidItem)
Rainlendar_DismissAlarm(uidItem)
Rainlendar_Redraw(1)
end
function Global_DismissAll()
uidAlarms = Rainlendar_GetAlarmItems()
for key, value in pairs(uidAlarms) do
Rainlendar_DismissAlarm(value)
end
Rainlendar_Redraw(1)
end